package br.com.statizo.financeiro.core.repository.impl;

import snoghert.db.util.PersistenceUtil;

public class RepositoryFactory {

	private PersistenceUtil persistenceUtility;
	
	public RepositoryFactory(PersistenceUtil persistenceUtility) {
		this.persistenceUtility = persistenceUtility;
	}
	
	public BancoRepository getBancoRepository(){
		return new BancoRepository(persistenceUtility);
	}
	
	public CartaoRepository getCartaoRepository(){
		return new CartaoRepository(persistenceUtility);
	}
	
	
	public CategoriaRepository getCategoriaRepository(){
		return new CategoriaRepository(persistenceUtility);
	}
	
	public ContaRepository getContaRepository(){
		return new ContaRepository(persistenceUtility);
	}
	
	public LancamentoRepository getLancamentoRepository(){
		return new LancamentoRepository(persistenceUtility);
	}
	
	public ColorConfigRepository getColorConfigRepository(){
		return new ColorConfigRepository(persistenceUtility);
	}
	
	public ConfiguracoesRepositorio getConfigRepo(){
		return new ConfiguracoesRepositorio(persistenceUtility);
	}
	
}